package com.tt.payee.configure;

import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author ：Tang
 * @date ：Created in 2020/8/18 17:07
 * @description：
 * @modified By：
 * @version: $
 */
public class AbstractDao extends SqlSessionDaoSupport {
    /**
     * Autowired 必须要有
     */
    @Override
    @Autowired
    public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory){

        super.setSqlSessionFactory(sqlSessionFactory);
    }
}
